<template>
	<div>
		
	</div>
</template>

<script>
//axios实例
//后端接口地址有多个，并且超时时长不一样
import axios from 'axios'
export default {
  name: 'four',
  components: {
  },
  created() {
	let instance = axios.create({
		baseUrl:'http://localhost8081',
		timeout:1000
	})
	let axios2 = axios.create({
		baseUrl:'http://localhost8080',
		timeout:3000
	})
	instance.get('/data.json').then(res=>{
		console.log(res)
	})
  }
}
</script>

<style>
</style>
